<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../css/jpetstore.css" type="text/css"/>
    <link rel="stylesheet" href="../css/jquery-ui.css" type="text/css"/>
    <script th:src = "@{/JS/jquery-3.2.1.js}"></script>
    <script th:src = "@{/JS/jquery-ui.js}"></script>
</head>
<body>
    <header th:fragment="header">
        <div id="Header">

            <div id="Logo">
                <div id="LogoContent">
                    <a href="/catalog/main"><img src="../images/logo-topbar.gif" /></a>
                </div>
            </div>

            <div id="Menu">
                <div id="MenuContent">
                    <a href="/cart/viewCart"><img align="middle" name="img_cart" src="../images/cart.gif" /></a>
                    <img align="middle" src="../images/separator.gif" />

                    <label th:if="${loginAccount eq null}">
                        <a href="/account/signOnForm">Sign In</a>
                    </label>
                    <label th:if="${loginAccount ne null}">
                        <a href="/account/signOff">Sign Out </a><img align="middle" src="../images/separator.gif"/>
                        <a href="/account/editAccountForm">My Account</a><img align="middle" src="../images/separator.gif" />
                    </label>
                    <a href="help">?</a>
                </div>
            </div>

            <div id="Search">
                <div id="SearchContent">
                    <form action="/catalog/search" method="post">
                        <input type="text" name="keyword" size="14" id="tags"/>

                        <script src="/JS/catalog/SearchJs.js"></script>

                        <input type="submit" name="searchProducts" value="Search" />

                    </form>
                </div>
            </div>

            <div id="QuickLinks">
                <a href="/catalog/viewCategory?categoryId=FISH">
                    <img src="../images/sm_fish.gif" />
                </a>
                <img src="../images/separator.gif" />
                <a href="/catalog/viewCategory?categoryId=DOGS"><img
                        src="../images/sm_dogs.gif" />
                </a>
                <img src="../images/separator.gif" />
                <a href="/catalog/viewCategory?categoryId=REPTILES"><img
                        src="../images/sm_reptiles.gif" />
                </a>
                <img src="../images/separator.gif" />
                <a href="/catalog/viewCategory?categoryId=CATS">
                    <img src="../images/sm_cats.gif" />
                </a>
                <img src="../images/separator.gif" />
                <a href="/catalog/viewCategory?categoryId=BIRDS">
                    <img src="../images/sm_birds.gif" />
                </a>
            </div>

        </div>
    </header>
</body>
</html>